﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Login
{
    public partial class FormCourseInfo : FormBase
    {
        ToolStripMenuItem m_tsmi;

        //public FormCourseInfo()
        //{
        //    InitializeComponent();
        //}

        public FormCourseInfo(ToolStripMenuItem tsmi) : base(tsmi)
        {
            m_tsmi = tsmi;
            InitializeComponent();
        }

        private void FormCourseInfo_FormClosed(object sender, FormClosedEventArgs e)
        {
            if (m_tsmi != null)
            {
                m_tsmi.Enabled = true;
            }
        }
    }
}
